package com.briup.sms.dao;

import com.briup.sms.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminMapper {
    Admin selectByUserName(String username);

    List<Admin> getPageUser(String username, Boolean stats);

    void addUser(Admin admin);

    void updateUser(Admin admin);
}
